package day2;

/**
 * @author joker
 * @date 2022/4/13 0013 - 16:03
 */
public interface Inter03 extends Inter01 , Intet02 {
     void m1();
    void m2();
   default void m3(){
        System.out.println("m33");
    };
     int a=1;
    static int b=2;
    public static void m4(){
        System.out.println("m4");
    }
}
class TestInter implements Inter03{

    @Override
    public void m1() {
        System.out.println("m1");
    }

    @Override
    public void m2() {
        System.out.println("m2");
    }

//    @Override
//    public void m3() {
//        System.out.println("zileim3");
//        Inter03.super.m3();
//    }

    public static void main(String[] args) {
//        System.out.println(Inter03.a);
//        System.out.println(Inter03.b);
//        Inter03.m4();
        TestInter testInter = new TestInter();
//        testInter.m1();
//        testInter.m2();
        testInter.m3();
//        TestInter testInter = new TestInter();
//        testInter.m3();

//        AbTest03 abTest03 = new AbTest03();
//        AbTest03.m7();
//        Inter03.m4();
    }
}
